package com.iwhalecloud.citybrain.flow.platform.manager.domain.repository;

import com.iwhalecloud.citybrain.flow.platform.manager.domain.model.FlowTitleExpression;

import java.util.List;

/**
 * @author: lzb
 * @date: 2021/11/9 17:04
 */
public interface FlowTitleExpressionRepository {

    /**
     * 批量添加自定义标题表达式
     *
     * @param flowTitleExpressionList
     * @return
     */
    void batchInsert(List<FlowTitleExpression> flowTitleExpressionList);

    void insertFlowTitleExpression(FlowTitleExpression flowTitleExpression);


    List<FlowTitleExpression> getCustomTitleExpressionByDeployId(String deployId);
}
